﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common
{
    public class CommonDataStorage
    {
        private  List<Variable> variables;       
        private  List<SmartHouseEvent> events;
        private  List<Operation> operations;
        private  List<Binding> bindings;

        public  List<Binding> Bindings
        {
            get { return this.bindings; }
            set { this.bindings = value; }
        }

        public List<Operation> Operations
        {
            get { return operations; }
            set { operations = value; }
        }

        public List<SmartHouseEvent> Events
        {
            get { return events; }
            set { events = value; }
        }

        public List<Variable> Variables
        {
            get { return variables; }
            set { variables = value; }
        }

        public CommonDataStorage()
        {
            variables = new List<Variable>();
            events = new List<SmartHouseEvent>();
            bindings = new List<Binding>();
            operations = new List<Operation>();
        }
    }
}
